/* * Author: Chris Seguin * * This software has been developed under the copyleft * rules of the GNU General Public License. Please * consult the GNU General Public License for more * details about use and distribution of this software. */ package org.acm.seguin.parser.ast; import org.acm.seguin.parser.JavaParser; import org.acm.seguin.parser.JavaParserVisitor; /** * Stores an empty statement. An empty statement is a semicolon * that is holding the place of a statement. * *@author Chris Seguin *@created October 13, 1999 */ public class ASTEmptyStatement extends SimpleNode { /** * Constructor for the ASTEmptyStatement object * *@param id Description of Parameter */ public ASTEmptyStatement(int id) { super(id); } /** * Constructor for the ASTEmptyStatement object * *@param p Description of Parameter *@param id Description of Parameter */ public ASTEmptyStatement(JavaParser p, int id) { super(p, id); } /** * Accept the visitor. * *@param visitor Description of Parameter *@param data Description of Parameter *@return Description of the Returned Value */ public Object jjtAccept(JavaParserVisitor visitor, Object data) { return visitor.visit(this, data); } }